﻿using MediatR;
using THE_WIND_RISES.Common.Domans.BasicInformation.warehouses;
using THE_WIND_RISES.Common.Dtos;

namespace Enterprise_Set.API.Application.Commands.Week3.WHAllot_CRUD
{
    public class AddAllottDataCommand:IRequest<Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int WHAllotId { get; set; }
        /// <summary>
        /// 库存调拨编号
        /// </summary>
        public string WHAllotNum { get; set; }
        /// <summary>
        /// 调拨日期
        /// </summary>
        public DateTime WHAllotTime { get; set; }

        /// <summary>
        /// 来源仓库
        /// </summary>
        public int WarehouseSourceId { get; set; }

        /// <summary>
        /// 来源仓库地址
        /// </summary>
        public string WarehouseSourceAddr { get; set; }

        /// <summary>
        /// 目标仓库
        /// </summary>
        public int WarehouseGoalId { get; set; }

        /// <summary>
        /// 目标仓库地址
        /// </summary>
        public string WarehouseGoalAddr { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int WHAllotState { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string WHAllotRemark { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string WHAllotCreateName { get; set; }

        /// <summary>
        /// 制单部门
        /// </summary>
        public string WHAllotCreateBranch { get; set; }
        /// <summary>
        /// 仓库调拨明细单
        /// </summary>
        public List<AllotDataDTO> allotDatas { get; set; }=new List<AllotDataDTO>();
    }
}
